package com.patchmanage.back.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 
    * </p>
*
* @author huizhao
* @since 2021-04-14
*/
    @ApiModel(value="Menu对象", description="")
    public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer pId;

    private String url;

    private Integer enabled;

    private LocalDateTime createTime;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public String getName() {
        return name;
        }

            public void setName(String name) {
        this.name = name;
        }
        public Integer getpId() {
        return pId;
        }

            public void setpId(Integer pId) {
        this.pId = pId;
        }
        public String getUrl() {
        return url;
        }

            public void setUrl(String url) {
        this.url = url;
        }
        public Integer getEnabled() {
        return enabled;
        }

            public void setEnabled(Integer enabled) {
        this.enabled = enabled;
        }
        public LocalDateTime getCreateTime() {
        return createTime;
        }

            public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
        }

    @Override
    public String toString() {
    return "Menu{" +
            "id=" + id +
            ", name=" + name +
            ", pId=" + pId +
            ", url=" + url +
            ", enabled=" + enabled +
            ", createTime=" + createTime +
    "}";
    }
}
